package com.pets.springboot_petshop.service;

import com.pets.springboot_petshop.entity.Orderproduct;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * @Author: wxk
 * @Email: 2089967794@qq.com
 * @Date: 2024/10/15 下午2:49 周二
 * @Description: 订单详情接口
 */
public interface OrderproductService {
    //order_id查询
    List<Orderproduct> selectorder_id(int order_id);
    //查询所有
    List<Orderproduct> findAll();
    //添加
    int add(Orderproduct orderproduct);
    //删除
    int delete(int id);
    //修改数据
    int update(Orderproduct orderproduct);
}
